package com.javaee.service.admin;

import com.javaee.entity.Record;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mo
 * @since 2024-11-27
 */
public interface RecordService  {

    boolean deleteRecord(Integer id);

    void addRecord(Record record);

    Record getRecordById(Integer id);

    boolean updateRecord(Record record);

    List<Record> searchRecord(String keyword, int pageNum, int pageSize);


    List<Record> getRecordList();

    int selectCount();
}
